// index.js

Page({
  
  /**
   * 页面的初始数据
   */
  data: {
    src:'/image/cat1.png',
    name:'E.I.M.P'
  },
  getMyInfo:function(s){
    let info = s.detail.userInfo;
    this.setData({
      src:info.avatarUrl,
      name:info.nickName
    })
  }
})
